﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NCT.Framework;

namespace VISS.API.Users
{
    /// <summary>
    /// Contains user pass code basic info
    /// </summary>
    [Serializable]
    public class UserPassCode
    {
        #region Properties
        /// <summary>
        /// Gets or sets the user key.
        /// </summary>
        /// <value>The user key.</value>
        public string UserKey { get; set; }
        /// <summary>
        /// Gets or sets the code.
        /// </summary>
        /// <value>
        /// The code.
        /// </value>
        public string Code { get; set; }
        /// <summary>
        /// Gets or sets the expired date.
        /// </summary>
        /// <value>
        /// The expired date.
        /// </value>
        public DateTime ExpiredDate { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="UserPassCode"/> class.
        /// </summary>
        public UserPassCode()
        {
            UserKey = string.Empty;
            Code = string.Empty;
            ExpiredDate = DateTime.MinValue;
        }
        #endregion
    }
}
